﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.Design;
using System.ComponentModel;

namespace Water.Web.Controls
{
    internal class TabBuilder:ControlBuilder
    {
        public override bool AllowWhitespaceLiterals()
        {
            return false;
        }

        public override Type GetChildControlType(string tagName, System.Collections.IDictionary attribs)
        {
            if (string.Compare(tagName, "tab", true) == 0)
                return typeof(TabPage);
            return null;
        }
    }
}
